package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 tb_specification_option
 * 
 * @author wf
 * @date 2024-01-15
 */
public class SpecificationOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格项ID */
    private Long id;

    /** 规格项名称 */
    @Excel(name = "规格项名称")
    private String optionName;

    /** 规格ID */
    @Excel(name = "规格ID")
    private Long specId;

    /** 排序值 */
    @Excel(name = "排序值")
    private Long orders;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOptionName(String optionName) 
    {
        this.optionName = optionName;
    }

    public String getOptionName() 
    {
        return optionName;
    }
    public void setSpecId(Long specId) 
    {
        this.specId = specId;
    }

    public Long getSpecId() 
    {
        return specId;
    }
    public void setOrders(Long orders) 
    {
        this.orders = orders;
    }

    public Long getOrders() 
    {
        return orders;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("optionName", getOptionName())
            .append("specId", getSpecId())
            .append("orders", getOrders())
            .toString();
    }
}
